/**
 * 资源相关请求模块
 */
import request from '@/utils/request'

interface Ad {
  pageNum: number
  pageSize: number
}

export const getAllSpaces = (data: Ad) => {
  return request({
    method: 'GET',
    url: '/front/ad/space/getAllSpaces',
    params: data

  })
}
export const getAdList = (data: Ad) => {
  return request({
    method: 'GET',
    url: '/front/ad/getAdList',
    params: data
  })
}
